package edu.sctu.practice.class02.xuejiahua.practise.test01;

import java.util.Arrays;

/**
 * Created by Dom_xuejiahua on 2015/11/19.
 */
public class Judgegrade {
    public void big3(int [] scores)
    {
        Arrays.sort(scores);
        int num = 0;
        for(int i = scores.length-1;i>=0&&num<3;i--)
        {
            if(scores[i]<0||scores[i]>100)
                continue;
            num++;
            System.out.println(scores[i]);
        }
    }


}
